﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.Character.Sheet

    ''' <summary>
    ''' A class that encapsulates defense stats
    ''' </summary>
    ''' <remarks></remarks>
    Public Class DefenseStats

        ''' <summary>
        ''' The character's bonus reduction in being hit and critically hit from defense skill
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property DecreasePercent As Double

        ''' <summary>
        ''' The character's bonus dodge, block, and parry from defense skill
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property IncreasePercent As Double

        ''' <summary>
        ''' The character's bonus defense skill from defense rating
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property PlusDefense As Integer

        ''' <summary>
        ''' The character's defense rating
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Rating As Integer

        ''' <summary>
        ''' The character's total defense skill
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Value As Double

        ''' <summary>
        ''' A constructor to create new defense information
        ''' </summary>
        ''' <param name="dblDecreasePercent"></param>
        ''' <param name="dblIncreasePercent"></param>
        ''' <param name="intPlusDefense"></param>
        ''' <param name="intRating"></param>
        ''' <param name="dblValue"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal dblDecreasePercent As Double, ByVal dblIncreasePercent As Double, ByVal intPlusDefense As Integer, ByVal intRating As Integer, ByVal dblValue As Double)
            DecreasePercent = dblDecreasePercent
            IncreasePercent = dblIncreasePercent
            PlusDefense = intPlusDefense
            Rating = intRating
            Value = dblValue
        End Sub

    End Class

End Namespace
